* {
    font-family: Georgia, serif;
    box-sizing: border-box;
}

body {
    background-color: #F4F1D8;
    margin: 0;
}

#topTitle{
    /* width: 100%; */
    /* background:  */
    /* linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, 0.55)),  */
    /* url(InsideCapital_UpwardView.jpg); */
    /* height: 25vh; */
    /* background-size: cover; */
    /* background-position: center; */
    /* display:flex; */
    /* justify-content: center; */
    /* align-items: center; */
	
    width: 100%;

    height: clamp(100px, 25vh, 350px);

    background:
        linear-gradient(
            rgba(0, 0, 0, .45),
            rgba(0, 0, 0, .55)
        ),
        url("InsideCapital_UpwardView.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
}

.titleText{
    /* width:80%; */
    /* text-align: center; */

    /* border-top:3px solid white; */
    /* border-bottom: 3px solid white; */
    /* text-decoration:none; */
    /* color:white; */
    /* font-size:4rem; */
    /* font-weight:bold; */
    /* padding:20px 0; */
    /* display: block; */
	
    width: min(90%, 1200px);

    text-align: center;

    border-top: 3px solid white;
    border-bottom: 3px solid white;

    text-decoration: none;
    color: white;

    font-size: clamp(1rem, 5vw, 4rem);

    font-weight: bold;

    padding: clamp(5px, 1.5vw, 20px) 10px;

    display: block;

    overflow-wrap: break-word;
    word-break: normal;
    
}

#pageDescription{
    width:100%;
    float: left;
    text-align:left;
    padding-left: 15%;
    padding-right: 15%;
}

#topSectionSeparator{
    width:100%;
    padding:left;
    background-color:#1d3154;
    height: 2rex;
}

#pageContainer {
    width: 100%;
    height: 100%;
    padding: left;
}

.pageHeader{
    width:100%;
    float: left;
    text-align:center;
    font-size: 40px;
    font-weight: 20px;
    padding-top: 20px;
}

#accessibleLinks {
    width: 100%;
    /* padding: 30px 20px; */
    text-align: center;
}

#accessibleLinks h2 {
    margin-bottom: 30;
    font-size: 3rem;
    color: #ffffff;
}

.listedLink {
    width: 100%;
    padding: left;
    background-color:#1d3154;
    height: auto;
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    min-height: 220px;
}

/* .listedLinkButton {
    background: transparent;
    background-color:purple;
    padding-left: 0%;
    width:30%;
    height:100%;
    float: left;
    align-content:center;
} */

/* .listedLinkButton a{
    display: block;
    width: 80%;
    height: 50%;
    align-content: center;
    margin-left: 10%;
} */

.report-card {
    display: block;
    position: relative;

    width: 250px;
    height: 100px;

    overflow: hidden; /* VERY IMPORTANT */

    background: #1d3561;

    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;

    text-decoration: none;
    color: inherit;
}

/* Background image */
.report-bg {
    position: absolute;
    inset: 0;

    background-image: url("report_image.jpeg");
    background-size: cover;
    background-position: center;

    transform: scale(1.05);

    transition:
        transform 0.4s ease,
        filter 0.4s ease;

    z-index: 1;
}

/* Dark overlay */
.report-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.35);

    transition: background 0.4s ease;

    z-index: 2;
}

/* Inner white border */
.report-border {
    position: absolute;

    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;

    border: 5px solid white;

    z-index: 3;
}

/* Text */
.report-card h2 {
    position: relative;
    z-index: 4;

    color: #ffffff;
    background:transparent;

    text-align: center;

    margin: 0;

    font-size: 1.8rem;
    line-height: 100px;

    text-shadow: 0 3px 8px rgba(0,0,0,0.6);
}

/* Hover effect */
.report-card:hover .report-bg {
    transform: scale(1);
    filter: brightness(0.55);
}

.report-card:hover .report-overlay {
    background: rgba(0,0,0,0.55);
}

.ga-card {
    position: relative;

    display: block;
    width: 420px;
    height: 170px;

    overflow: hidden;

    text-decoration: none;
    color: white;

    background: #222;
}

.ga-card-bg{
    position:absolute;
    inset: 0;
    background-image: url("report_image.jpeg");
    background-size: 115%;
    background-position: center;

    transition:
        transform 0.45s ease,
        filter 0.45s ease,
        background-size 0.45 ease;

    z-index: 1;
}

.ga-card::after{
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.45);

    transition: background 0.45s ease;
    z-index: 2;
}

.ga-card-border{
    position: absolute;

    top: 14px;
    left: 14px;
    right: 14px;
    bottom: 14px;

    border: 5px solid rgba(255,255,255,0.9);
    z-index: 3;
}

.ga-card-content {
    position: relative;
    z-index: 4;

    text-align: center;

    font-size: 2rem;
    font-weight: bold;
    line-height: 1.1;

    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.ga-card:hover .ga-card-bg {
    transform: scale(0.95);
    filter: brightness(0.6);
}

.ga-card:hover::after {
    background: rgba(0.0.0.0.6);
}


.listedLinkText {
    background: transparent;
    color: white;
    width:70%;
    height:auto;
    /* float: left; */
    align-content: center;
}
/*Flexible layout for the cards listed as the links */
#card-container {
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    width: 100%
}

/*Outer card section*/
.card {
    width: calc((100% / 3) - 40px);
    max-width: 300px;
    min-width: 220px;
    background: #1d3154;
    border-radius: 30px;
    padding: 50px;
    /* box-sizing: border-box; */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items:center;
}

.card-top {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    padding-bottom: 5px;
    margin-bottom: 15px;
    /* height: auto; */
    height:90%;
    justify-content:center;
    align-items:center;
    width: 110%;
    
}


/*Inner card section*/
/* .card { */
    /* Width:100%; */
    /* background:white; */
    /* border-radius: 20px; */
    /* overflow: hidden; */
    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: center; */
    /* box-sizing: border-box; */
/* } */

/*Image formatting per card*/
.card-top img {
    width: 100%;
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

/*Title formatting per card*/
.card-top h2 {
    margin: 10px 0px 0px 0px;
    font-size: 2rem;
    color: #222;
    font-weight: normal;
    background:transparent;
    text-align:center;
}

.card a {
    display: block;
    width: 80%;
    /* margin-bottom: 16px; */
    padding: 10px;
    background: #4285f4;
    color: black;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius:4px;
    transition: background 0.2s;
}

.card a:hover {
    background: #2f6fe0;
}

/* Option 3 Codes */
.portalButtonSection{
    /* position: relative; */
    /* width:100%; */
    /* min-height:100vh; */

    /* background: */
        /* linear-gradient(rgba(255,255,255,.45), */
        /* rgba(255,255,255,.45)), */
        /* url('Capitol_Building2.jpg'); */

    /* background-size:cover; */
    /* background-position:center; */

    /* display:flex; */
    /* flex-direction:column; */
    /* align-items:center; */

    /* padding:205px 20px; */
	
    position: relative;
    width: 100%;

    background:
        linear-gradient(
            rgba(255,255,255,.45),
            rgba(255,255,255,.45)
        ),
        url('Capitol_Building2.jpg');

    background-size: cover;
    background-position: center;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: clamp(40px, 7vw, 140px) 20px;

    /* Give the links some reserved space */
    padding-bottom: clamp(120px, 12vw, 180px);
}

.portal-title{
    font-size:4rem;
    font-weight:800;
    color:#1f2c68;
    margin-bottom:60px;
    text-align:center;
}

.button-grid{
    /* display:grid; */

    /* grid-template-columns: repeat(2, 320px); */
    /* gap:90px 70px; */
	
	display: grid;

    grid-template-columns: repeat(2, minmax(0, 320px));

    gap: clamp(20px, 5vw, 90px) clamp(20px, 5vw, 70px);

    width: min(90%, 710px);

    justify-content: center;
}

.portal-btn{
    /* height:160px; */

    /* border:5px solid rgba(52, 63, 120, .45); */
    /* border-radius:28px; */

    /* background:rgba(255,255,255,.35); */
    /* backdrop-filter: blur(2px); */

    /* color:#1f2c68; */
    /* font-size:2.5rem; */
    /* font-weight:800; */

    /* cursor:pointer; */

    /* transition:.25s ease; */

    /* display:flex; */
    /* justify-content:center; */
    /* align-items:center; */
    /* text-align:center; */
    /* text-decoration:none; */

    /* padding:20px; */
	
	height: clamp(90px, 12vw, 160px);

    border: 5px solid rgba(52, 63, 120, .45);
    border-radius: 28px;

    background: rgba(255,255,255,.35);
    backdrop-filter: blur(2px);

    color: #1f2c68;

    font-size: clamp(1.2rem, 3vw, 2.5rem);

    font-weight: 800;

    cursor: pointer;

    transition: .25s ease;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    text-decoration: none;

    padding: 20px;
}

.portal-btn:hover{
    transform:translateY(-4px);
    background:rgba(255,255,255,.5);
}

.bottom-links{
    position: absolute;

    bottom: clamp(25px, 4vw, 40px);
    right: clamp(20px, 4vw, 50px);

    display: flex;
    flex-direction: column;

    gap: 10px;
	
    /* width: 90%; */

    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: flex-end; */

    /* gap: 10px; */

    /* margin-top: 15px; */
}

.budgetBillLink{
    display: flex;
    align-items: center;
    gap: 14px;

    text-decoration: none;

    color:#6d0000;
    font-size: 2rem;
    font-weight: 700;
    transition: .2s ease;
}

.glossary-link{
    display:flex;
    align-items:center;
    gap:14px;

    text-decoration:none;

    color:#6d0000;
    font-size:2rem;
    font-weight:700;

    transition:.2s ease;
}

.glossary-link:hover{
    transform:translateX(-4px);
}

.budgetBillLink:hover{
    transform: translatex(-4px);
}

.info-icon{
    width:42px;
    height:42px;

    border:5px solid #6d0000;
    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:1.7rem;
    font-weight:800;
    line-height:1;
}

.arrowIcon{
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.accordion-content {
    /* display: none; */
    padding: 1rem;
    border: 1px solid #ccc;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    font-size: 20px;
}

.belowPortalText {
	width:100%;
    float: left;
    text-align:center;
    padding-left: 15%;
    padding-right: 15%;
}

.bottomText{
	width:100%;
    float: left;
    text-align:center;
    padding-left: 15%;
    padding-right: 15%;
}

/* .accordion-content.active {
    display: block;
} */

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1rem;
    cursor: pointer;
    display:flex;
    justify-content: space-between;
    align-items: center;
    background-color:#1d3154;
    border-color: transparent;
    color:white;
    font-size:2rem;
    
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: bold;
}

.glossaryExternalHeader{
    width: 100%;
    text-align: left;
    padding: 1rem;
    cursor: pointer;
    display:flex;
    justify-content: space-between;
    align-items: center;
    background-color:#1d3154;
    border-color: transparent;
    color:white;
    font-size:2rem;
    padding: 1rem;
    text-decoration: none;
    margin-bottom:2rem;
}

.report-container {
    /* width: 90%; */
    /* height: 700px; */

    /* margin: 30px auto;     /* Centers horizontally */

    /* border: 10px solid #1d3154; */
    /* border-radius: 12px; */

    /* overflow: hidden; */
    /* background: white; */

    /* box-sizing: border-box; */
	
    width: min(100%, 1400px);

    aspect-ratio: 16 / 9;

    margin: clamp(20px, 3vw, 30px) auto;

    border: clamp(4px, 0.7vw, 10px) solid #1d3154;
    border-radius: 12px;

    overflow: hidden;
    background: white;

    box-sizing: border-box;
}

@media (max-width: 900px){

    .portal-title{
        font-size:2.5rem;
    }

    .button-grid{
        grid-template-columns:1fr;
        gap:30px;
        width:100%;
        max-width:400px;
    }

    .portal-btn{
        width:100%;
        height:120px;
        font-size:2rem;
    }

    .bottom-links{
        position:static;

        margin-top:40px;

        width:100%;
        align-items:center;
    }
	
	.report-container {
        width: 95%;
        aspect-ratio: 4 / 3;
    }
}

